package com.kude.entity;

import java.util.HashSet;
import java.util.Set;

public abstract class AbstractArticleCategory implements java.io.Serializable {

	public static final String TABLE_NAME = "article_category";
	public static final String ARTICLE_CATEGORY_ID = "article_category_id";
	public static final String CATEGORY_NAME = "category_name";

	private Integer articleCategoryId;
	private String categoryName;
	private String prefix;
	private ArticleCategoryPrefix articleCategoryPrefix;
	private Set<Article> articles = new HashSet(0);

	public AbstractArticleCategory() {
	}

	public AbstractArticleCategory(Integer articleCategoryId,
			String categoryName, String prefix,
			ArticleCategoryPrefix articleCategoryPrefix, Set<Article> articles) {
		this.articleCategoryId = articleCategoryId;
		this.categoryName = categoryName;
		this.prefix = prefix;
		this.articleCategoryPrefix = articleCategoryPrefix;
		this.articles = articles;
	}

	public Integer getArticleCategoryId() {
		return articleCategoryId;
	}

	public void setArticleCategoryId(Integer articleCategoryId) {
		this.articleCategoryId = articleCategoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public ArticleCategoryPrefix getArticleCategoryPrefix() {
		return articleCategoryPrefix;
	}

	public void setArticleCategoryPrefix(ArticleCategoryPrefix articleCategoryPrefix) {
		this.articleCategoryPrefix = articleCategoryPrefix;
	}

	public Set<Article> getArticles() {
		return articles;
	}

	public void setArticles(Set<Article> articles) {
		this.articles = articles;
	}



}
